<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册表单</title>
</head>
<body>
<h1>欢迎注册</h1>
<form action="#">
<table border="1px">

    <tr>
        <td>用户名:</td>
        <td width="300px">
            <input type="text" name="username">
        </td>
    </tr>
    <tr>
        <td>密码</td>
        <td>
            <input type="password" name="password">
        </td>
    </tr>
    <tr>
        <td>性别:</td>
        <td>
            <input type="radio" name="xb" value="1">男
            <input type="radio" name="xb" value="0">女
        </td>
    </tr>
    <tr>
        <td>爱好:</td>
        <td>
            <input type="checkbox" name="ah" value="cy">抽烟
            <input type="checkbox" name="ah" value="hj">喝酒
            <input type="checkbox" name="ah" value="tt">烫头
        </td>
    </tr>
    <tr>
        <td>地址:</td>
        <td>
            <input type="text" name="dz">
        </td>
    </tr>
    <tr>
        <td>生日:</td>
        <td>
            <input type="date" name="sr">
        </td>
    </tr>
    <tr>
        <td>靓照</td>
        <td>
            <input type="file" name="lz">
        </td>
    </tr>
    <tr>
        <td>所在地:</td>
        <td>
            <select name="szd" >
                <option value="bj" selected>北京</option>
                <option value="hb">河北</option>
                <option value="sx">山西</option>
                <option value="hn">河南</option>
            </select>
        </td>
    </tr>
    <tr >
        <td colspan="2" style="text-align: center">
            <input id="1" type="checkbox" name="xy" value="0" >
            <label for="1">我同意相关的服务协议</label>
        </td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center">
            <input type="submit" value="注册">
        </td>

    </tr>

</table>
</form>
</body>
</html>